package chap9;

public class AnimalTest {
    public static void main(String[] args) {
        Cow a = new Cow("Tom", 1005);
        Sheep b = new Sheep("John", 1001);

        a.eat();
        a.introduction();
        a.sleep();

        b.eat();
        b.introduction();
        b.sleep();
    }
}
